<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Substitute_admin_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-substitute_admin_id" data-rule="required" data-source="substitute/admin/index" class="form-control selectpage" name="row[substitute_admin_id]" type="text" value="{$row.substitute_admin_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Select_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-select_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[select_time]" type="text" value="{:$row.select_time?datetime($row.select_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-num" class="form-control" name="row[num]" type="number" value="{$row.num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remarks')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remarks" class="form-control" name="row[remarks]" type="text" value="{$row.remarks|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-status" class="form-control" name="row[status]" type="number" value="{$row.status|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('First_trial_admin_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-first_trial_admin_id" data-rule="required" data-source="first/trial/admin/index" class="form-control selectpage" name="row[first_trial_admin_id]" type="text" value="{$row.first_trial_admin_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('First_trial_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-first_trial_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[first_trial_time]" type="text" value="{:$row.first_trial_time?datetime($row.first_trial_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('First_trial_reject_reason')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-first_trial_reject_reason" class="form-control" name="row[first_trial_reject_reason]" type="text" value="{$row.first_trial_reject_reason|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('End_trial_admin_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-end_trial_admin_id" data-rule="required" data-source="end/trial/admin/index" class="form-control selectpage" name="row[end_trial_admin_id]" type="text" value="{$row.end_trial_admin_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('End_trial_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-end_trial_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[end_trial_time]" type="text" value="{:$row.end_trial_time?datetime($row.end_trial_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('End_trial_reject_reason')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-end_trial_reject_reason" class="form-control" name="row[end_trial_reject_reason]" type="text" value="{$row.end_trial_reject_reason|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:$row.create_time?datetime($row.create_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-update_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:$row.update_time?datetime($row.update_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Times')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-times" class="form-control " rows="5" name="row[times]" cols="50">{$row.times|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
